//
//  Test_enum.swift
//  TestSwift
//
//  Created by 小星星吃KFC on 2021/6/4.
//

import Foundation
//enum Day {
//    case One
//}
//extension Day {
//    case Two
//    func log() {
//
//    }
//}

func Test_enum() {
    
    enum Character {
        enum Weapon {
            case Bow
            case Sword
            case Lance
            case Dagger
        }
        enum Helmet {
            case Wooden
            case Iron
            case Diamond
        }
        
        case Thief
        case Warrior
        case Knight
    }
    
//    Character.Weapon.Bow
   
    
}
